<?php get_header(); ?>

<div class="inner cf single-post">
	<?php echo riant_breadcrumb(); ?>
	<?php get_sidebar(); ?>
	<main id="main" class="site-main" role="main">

		<?php
		/* Start the Loop */
		while ( have_posts() ) : the_post();

			get_template_part( 'parts/content', get_post_format() );

			// If comments are open or we have at least one comment, load up the comment template.
			if ( comments_open() || get_comments_number() ) :
				comments_template();
			endif;

			the_post_navigation( array(
				'prev_text' => '<span class="nav-subtitle">上一页</span> <span class="nav-title">&lt; %title</span>',
				'next_text' => '<span class="nav-subtitle">下一页</span> <span class="nav-title">%title &gt;</span>',
			) );

		endwhile; // End of the loop.
		?>

	</main><!-- #main --><!-- #primary -->
</div><!-- .wrap -->

<?php get_footer();
